home *** CD-ROM | disk | FTP | other *** search
- ****** Replace.man *************************************************************
- *
- * Replace 37.2 (04-May-95)
- *
- ********************************************************************************
-
- :ts=8
-
-
- SYNOPSIS
- [-iinFile] [-ooutFile] <-ssearchStr> <-rreplaceStr> [-c] [-v]
-
-
- DESCRIPTION
- Very simple search/replace program. Replaces searchStr with replaceStr
- in inFile.
-
-
- OPTIONS
- -i Optional input file (default: stdin)
- -o Optional output file (default: stdout)
- -s Mandatory search string
- -r Mandatory replace string
- -c Use case-sensitive search routine (default: case-insensitive)
- -v Verbose (report number of successful search/replace)
-
- If the name of the input and the output files is the same, or if the
- name of the output file is "-", then inFile will be renamed as inFile~
- before conversion (note: any existing inFile~ will be deleted!) to
- inFile.
-
- Both searchStr and replaceStr can be given as strings or ASCII values.
- ASCII values can be given as octal, decimal or hexadecimal, prepended
- with a backslash. E.g., 'A':
-
- (OCT) \0101
- (DEC) \65
- (HEX) \0x41
-
- NOTES
- Replace is `pure' and can be made resident.
-
- If running under AmigaOS v39+, Replace will use memory pools for its
- allocations.
-
-
- BUGS
- None known
-
-
- REQUIREMENTS
- dos.library v37+
- utility.library v37+
-
-
- HISTORY
- 37.2 (04-May-95) First public release.
-
-
- COPYRIGHT ETC.
- Replace was written from scratch by Klaus Alexander Seistrup, Magnetic
- Ink <kas@mink.ping.dk> and placed in Public Domain as freeware. If you
- find any bugs in this software, you will have to correct the source
- yourself and recompile the program, as I no longer have an Amiga (I've
- switched to Linux).
-
-
-
- ······: Klaus :·······································: kas@mink.ping.dk :······
- ··············: Magnetic Ink :··················································
- ····································: Soli Deo Gloria :·························
-
- --
-
- »Let us hear the conclusion of the whole matter: Fear God, and keep his
- commandments, for this is the whole duty of man.«
- (Ecclesiastes 12:13)
-